package com.nmsl.masterdocker.service.impl;

import com.nmsl.masterdocker.domain.TyPrescriptionInfo;
import com.nmsl.masterdocker.mapper.TyPrescriptionInfoMapper;
import com.nmsl.masterdocker.service.ITyPrescriptionInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TyPrescriptionInfoServiceImpl implements ITyPrescriptionInfoService {
    @Autowired
    private TyPrescriptionInfoMapper tyPrescriptionInfoMapper;

    @Override
    public List<TyPrescriptionInfo> selectPIById(Long prescriptionInfoId){
        System.out.println(tyPrescriptionInfoMapper.selectPIById(prescriptionInfoId));
        return tyPrescriptionInfoMapper.selectPIById(prescriptionInfoId);
    }
}
